home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / s / street02.mod < prev    next >
Text File  |  1994-08-04  |  2KB  |  41 lines

  1. STREET02.MOD
  2. Streetdoc #1 @2503
  3. Fri Dec 20 19:27:40 1991
  4.  
  5.  
  6.  /***********************************************************
  7.    MODNAME:    STREET02.MOD        Date: 12/20/1991
  8.    Difficulty: NOT
  9.    Version:    4.20
  10.    Author:     Streetdoc 1@2503
  11.    Function: Sends short message to you, notifying you of any uploads
  12.  
  13.    Why:  I don't always remember to check my sysop dir for any new uploads
  14.      and I don't always check my sysoplog as I should, so I needed a
  15.      way to know when a user had uploaded a file. This (mini)-mod sends
  16.      a short message to you as you logon with this info. This mod assumes
  17.      that you force all uploads to your sysop dir. It replaces the upload
  18.      dir with the user name in the sysoplog and the short message. The
  19.      ssm(x,0,s) is used, with the x being the account that the note is
  20.      sent to and the s being the message sent.
  21.          
  22.    (Insert favorite disclaimer here........) 
  23.     
  24.          
  25. ****************************************************************/
  26.       All the changes are in XFER.C. in void upload()
  27.  
  28.    ++status.uptoday;   /* search for this */
  29.    save_status();
  30.    sprintf(s,"+%s uploaded by %s",u.filename,thisuser.name); /* change */
  31.    sysoplog(s);
  32.    ssm(1,0,s);                                               /* add */
  33.    nl();
  34.    nl();
  35.    pl("File uploaded.");
  36.    nl();
  37.    npr("Your ratio is now: %-6.3f\r\n", ratio());
  38.    nl();
  39.          2Streetdoc's Bar and Grill--7Tuscaloosa, Alabama--4205-391-4982
  40.         3Autovalidation of WWIVnet Sysops--1WWIVnet 2503/VirtualNet 2503 
  41.                     7Soon to be using Intel's 14.4EX Modem!